package simplyrugby.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 年龄组
 * @TableName age_group
 */
@TableName(value ="age_group")
@Data
public class AgeGroup implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    @TableField(value = "description")
    private String description;

    /**
     * 主席ID
     */
    @TableField(value = "chairman_id")
    private String chairmanId;

    /**
     * 助理ID
     */
    @TableField(value = "secretary_id")
    private String secretaryId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}